package ooday01;

public class CarTest {
    public static void main(String[] args) {
        Car car=new Car();
        car.brand="奔驰";
        car.color="黑";
        car.price=20;
        car.start();
        car.run();
        car.stop();

        Car car1=new Car("特斯拉","白",200000.0);
        car1.start();
        car1.run();
        car1.stop();

        Car car2=new Car("奥迪", "黑",50);
        car2.start();
        car2.run();
        car2.stop();
    }
}
